package com.xcity.pomelo.request;

import com.xcity.pomelo.PomeloRoute;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.PomeloPacket;

@PomeloMessage(route = PomeloRoute.VISIT)
public class VisitRequest extends PomeloPacket {

	private long id; // 目标玩家id
	private byte action; // 1=进入别人家中, 0=离开别人家

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public byte getAction() {
		return action;
	}

	public void setAction(byte action) {
		this.action = action;
	}
	
}
